package com.trip.service;

import org.jooq.DSLContext;
import org.jooq.UpdatableRecord;
import org.springframework.beans.factory.annotation.Autowired;

import java.io.Serializable;

/**
 * Created by hc24 on 2018/7/15.
 */
public class BaseService<R extends UpdatableRecord> {

    @Autowired
    private DSLContext dslContext;

    public int create(R r){
        return r.insert();
    }

}
